package com.bdmc.report.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bdmc.common.core.domain.BaseSingleEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

;

/**
 * 车辆油量统计对象 report_car_oil
 *
 * @author bdmc
 * @date 2022-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("report_car_oil")
public class ReportCarOil extends BaseSingleEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "oil_id")
    private Long oilId;
    /**
     * 车辆id
     */
    private Long carId;
    /**
     * 车牌号
     */
    private String carNum;
    /**
     * 数据时间
     */
    private LocalDateTime dataTime;
    /**
     * 当前油量
     */
    private BigDecimal carOil;
    /**
     * 油量变化
     */
    private BigDecimal oilChanged;
    /**
     * 平均油量消耗
     */
    private BigDecimal oilMean;

}
